WP2FA\Admin\SettingsPages\Settings_Page_Policies C

Total Complexity 122
Dependencies 12
Dependents 4
Total lines 930
Lines of code 591
Logical lines of code 274
Comment lines 262
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
validate_and_sanitize()
D
17
71 203
user_profile_settings()
B
34 13 106
render()
A
36 13 89
new_page_created()
A
48 7 32
generate_custom_user_profile_page()
S
51 4 26
update_wp2fa_network_options()
S
51 3 30
get_post_by_post_name()
S
64 4 10
disable_2fa_removal_setting()
S
53 1 29
user_redirect_after_wizard()
S
54 1 25
grace_period_setting()
S
54 1 25
select_method_setting()
S
80 1 3
select_enforcement_policy_setting()
S
80 1 3
excluded_roles_or_users_setting()
S
73 1 7
excluded_network_sites()
S
81 1 3